<?php

namespace app\client\index;

class C_articleType
{


    /**
     * 获取分类列表
     * @param string $paramObj
     */
    public function getList($paramObj = "")
    {
        $paramsObj = paramsObj();
        $paramsObj->mixed = 1;
        $paramsObj->params=array(
            "size"=>5 ,     //设置获取数量  按排序前x个
         );
        $checkResult = app("L_Index_articleType")->getList($paramsObj);
        if ($checkResult["error_no"] == 0) {
            return apiResult(true, "success", 0, $checkResult["result"], $checkResult["extra"]);
        } else {
            return apiResult(false, $checkResult["error_msg"], $checkResult["error_no"]);
        }
    }
}